﻿/*** FrameScriptManagerTest by Grant Skinner. November 13, 2007* Visit www.gskinner.com/blog for documentation, updates and more free code.*/package {	import flash.events.EventDispatcher;	import com.gskinner.utils.FrameScriptManager;	import flash.display.MovieClip;	public class FrameScriptManagerTest extends MovieClip {	// constants:	// private properties:		// public properties:			// constructor:		public function FrameScriptManagerTest() {			super();			var fsm:FrameScriptManager = new FrameScriptManager(this);			fsm.setFrameScript("lbl1",newLbl1Funct);			fsm.setFrameScript("lbl2",newLbl2Funct);						trace("frame number for label 'lbl1': "+fsm.getFrameNumber("lbl1"));					}			// public getter/setters:	// public methods:			private function newLbl1Funct():void {			trace("new lbl1 trace");		}				private function newLbl2Funct():void {			trace("new lbl2 trace");			stop();		}		// private methods:	}}